package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "datasynctime")
public class Datasynctime implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String syncdata;

	@Id
	private int orgid;
	
	private Date lastsynctime;

	public String getSyncdata() {
		return syncdata;
	}

	public void setSyncdata(String syncdata) {
		this.syncdata = syncdata;
	}

	public Date getLastsynctime() {
		return lastsynctime;
	}

	public void setLastsynctime(Date lastsynctime) {
		this.lastsynctime = lastsynctime;
	}

	public int getOrgid() {
		return orgid;
	}

	public void setOrgid(int orgid) {
		this.orgid = orgid;
	}

}